/**
 *@Title: SpecialClaimService.java  
* @author: 胡彪
* @date: 2013-5-30 下午05:33:10
* @Description:
* @version: V1.0   
 */
package com.imonsoft.sqm.service.business.supplier_quality;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

import org.springframework.validation.BindingResult;

import com.imonsoft.common.base.service.BaseService;
import com.imonsoft.common.httpModel.DataGrid;
import com.imonsoft.common.httpModel.Pager;
import com.imonsoft.common.httpModel.ReturnMessage;
import com.imonsoft.sqm.pojo.business.supplier_quality.Special_Claim;
import com.imonsoft.sqm.vo.business.supplier_quality.SpecialClaimVo;
import com.imonsoft.sqm.web.excel.SpecialClaim.SpecialClaimImportDto;

/**
 *
 *
 */
public interface SpecialClaimService  extends BaseService<Special_Claim>{
	
	public DataGrid<SpecialClaimVo> getDataGridVoBy(Special_Claim entity,Pager pager) ;
	
	
	public SpecialClaimVo getModifyData(Long id,String year);
	
	
	public void   txUpdateOrAddSpecialClaim(String specialClaimDetail,String specialClaim) throws IllegalAccessException, InvocationTargetException;
	
	public void   txAddSpecialClaim(String specialClaimDetail,String specialClaim, ReturnMessage message, BindingResult result) throws IllegalAccessException, InvocationTargetException;
	
	public void deleteSpecialClaim(String detail) throws Exception;
	/**
	 * zhouwei 系统导入保存
	 * 
	 * @param entity
	 * @return
	 */
	public void txInsertForSys(List<SpecialClaimImportDto> specialClaimImportDtoList);
	
	
	public List<Special_Claim> findListByStateMonth(Special_Claim entity);
}
